package com.imooc.searchcountdown;

/**
 * @author ChangLiang
 * @date 2019/3/5
 */
public class EsService {

    public String searchQueryItems(String keyword) throws InterruptedException {
        Thread.sleep(3000);
        return keyword+" items";
    }

    public String searchQueryGuides(String keyword) throws InterruptedException {
        Thread.sleep(1000);
        return keyword + " guides";
    }

    public String getApplications(String keyword) throws InterruptedException {
        Thread.sleep(1000);
        return keyword + " applications";
    }

    public String getAppointItems(String keyword) throws InterruptedException {
        Thread.sleep(1000);
        return keyword + " appointments";
    }
}
